package com.sise.dbservice8001.service.Impl;

import com.sise.dbservice8001.pojo.Person;
import com.sise.dbservice8001.reposity.PersonReposity;
import com.sise.dbservice8001.service.FindService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author:ljf
 * @date: 2020/6/8
 * @description:
 **/
@Service
public class FindSeriveImp implements FindService {


    @Resource
    private PersonReposity personReopsity;


    @Override
    public Person findPersonById(Integer id) {
        return personReopsity.findById(id);
    }
}
